﻿<Form>
    <FormItem>
        <BootstrapInput @bind-Value="@Context.Test" IsTrim="true" />
    </FormItem>
    <FormItem>
        <DateTimePicker @bind-Value="@Context.Test2" ViewMode="DatePickerViewMode.DateTime" Format="yyyy-MM-dd HH:mm:ss"/>
        @*<DatePickerBody @bind-Value="@Test2Value" OnConfirm="@NormalOnConfirm" ShowFooter="false" />*@
    </FormItem>
</Form>
@code {
    //private DateTime Test2Value { get; set; }
    //private Task NormalOnConfirm()
    //{
    //    Context.Test2 = Test2Value;
    //    return Task.CompletedTask;
    //}

    [Parameter]
    public GMS.NET.Dto.System.Test.Output.TestData Context { get; set; }
}
